package com.blb.common.entity;

import java.util.List;

/**
 * @author lvtian
 * @date 2022/12/2 11:24
 */
public class PageBean<T> {
    //每页的行数
    public static final int PAGE_SIZE =10;
    //数据列表
    private List<T> data;
    //数据总数
    private int dataCount;
    //分页数
    private int pageCount;
    //当前页数
    private int current;

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }

    public int getDataCount() {
        return dataCount;
    }

    public void setDataCount(int dataCount) {
        this.dataCount = dataCount;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }
}
